package com.rx.mgt.service;

import com.rx.mgt.dao.EmailUserLoginCountsDao;
import com.rx.mgt.domain.EmailUserLoginCounts;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * Created by zxj on 2017/8/14.
 */
@Service
@Transactional
public class EmailUserLoginCountsService {


    @Autowired
    private EmailUserLoginCountsDao dao;

    public List<EmailUserLoginCounts> queryEmailUserLoginCounts() {
        return dao.list();
    }

    public Map<String,Object> querySysPropety() {

         return dao.querySysPropety();
    }
}
